import request from "@/utils/request.js"



// 查询工作餐列表
export const getgongzuocanList = data => {
    return request({
        url: `/tbUserWorkingLunch/list`,
        data
    })
}

//新增工作餐数据
export function addGongzuocan(data) {
    return request({
        url: `/tbUserWorkingLunch/add`,
        method: 'post',
        data
    })
}

// 查询工作餐单条数据
export function getgongzuocan(id) {
    return request({
        url: `/tbUserWorkingLunch/get/${id}`,
        method: 'GET',
    })
}

//审批
export function shenpigongzuocan(data) {
	return request({
		url: `/tbUserWorkingLunch/approval`,
		method: 'post',
		data
	})
}